/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.project.beans;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import org.project.entities.Caracteristique;

/**
 *
 * @author Malek
 */
@Stateless
public class CaracteristiqueFacade extends AbstractFacade<Caracteristique> {
    @PersistenceContext(unitName = "OneCommerceProjectPU")
    private EntityManager em;

    @Override
    protected EntityManager getEntityManager() {
        return em;
    }

    public CaracteristiqueFacade() {
        super(Caracteristique.class);
    }
    
}
